<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
    />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <style>
      .box {
        display: flex;
        justify-content: space-around;
      }
      .box .left {
        flex: 1;
        height: 100px;
        background: aqua;
      }
      .box .center {
        flex: 2;
        /*width: 50%;*/
        height: 100px;
        background: yellow;
      }
      .box .right {
        flex: 1;
        height: 100px;
        background: black;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="left"></div>
      <div class="center"></div>
      <div class="right"></div>
      <script>
        const rex = [
          1,
          1,
          "true",
          "true",
          true,
          true,
          15,
          15,
          false,
          false,
          "1",
        ];
        console.log([...new Set(rex)]);
      </script>
    </div>
  </body>
</html>
